package cn.ffcs.uec.recordsApproval.manager.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.ffcs.uec.recordsApproval.dao.ActRunTaskDao;
import cn.ffcs.uec.recordsApproval.manager.ActRunTaskManager;

@Service("actRunTaskManager")
public class ActRunTaskManagerImpl implements ActRunTaskManager {

	@Resource ActRunTaskDao actRunTaskDao;
	
	@Override
	public List<Map<String, Object>> getRuTasks(String procInstId) {
		return actRunTaskDao.getRuTasks(procInstId);
	}

	@Override
	public List<Map<String, Object>> getRuTasksByProcDefId(String procDefId) {
		return actRunTaskDao.getRuTasksByProcDefId(procDefId);
	}

}
